package inventory.entity.po;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import inventory.entity.Role;

import java.io.Serializable;
import java.util.List;

/**
 * @author RenHaiquan
 * @create 2019-11-23 18:12
 */
public class RolePo {


    @TableId(value = "role_id", type = IdType.UUID)
    private String roleId;
    private String role;
    private String pid;
    /**
     * 2为市级，1为县级，0是个人
     */
    private String state;
    private List<Role> roleList;

    @Override
    public String toString() {
        return "RolePo{" +
                "roleId='" + roleId + '\'' +
                ", role='" + role + '\'' +
                ", pid='" + pid + '\'' +
                ", state='" + state + '\'' +
                ", roleList=" + roleList +
                '}';
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

}
